package returnDataStruct;

import pojo.playground;
import pojo.stadium;

import java.util.ArrayList;
import java.util.List;

public class playgroundNameArray {
    private List<String> arr;
    public playgroundNameArray(List<playground> sl){
        arr = new ArrayList<>();
        arr.add("请选择你的运动场地");
        for(playground s:sl){
            arr.add(s.getPlay_name());
        }
    }

    public List<String> getArr() {
        return arr;
    }

    public void setArr(List<String> arr) {
        this.arr = arr;
    }
}
